package com.guo.springboot.cli.service.impl;

/**
 * @Auther: hotlove_linx
 * @Date: 2021/8/6 00:13
 * @Description:
 */

import com.guo.springboot.cli.service.ProfileService;
import com.guo.springboot.dao.ProfileMapper;
import com.guo.springboot.domain.Profile;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ProfileImpl implements ProfileService {

    @Resource
    private ProfileMapper profileMapper;

    @Override
    public Profile getProfile() {
        Profile profile = profileMapper.selectByPrimaryKey(1);
        return profile;
    }
}
